3 examples for git revert

{{ score }}
  # Reverts the last commit made by creating another commit
git revert HEAD
        
{{ score }}
  # Undo the changes made by a particular commit.
git revert SHA
        
{{ score }}
  # Undoes the changes from your most recent commit
git reset HEAD~1